package com.CommunityHub.kiana.utils;

import com.mchange.v2.c3p0.ComboPooledDataSource;

import javax.sql.DataSource;

public class DataSourceUtils {
    public static DataSource ds = null;
    static {
        ComboPooledDataSource cpds = new ComboPooledDataSource("itcast");
        ds = cpds;
    }

    public static DataSource getDataSource() {
        return ds;
    }
}
